package 晚间作业0316.Doc11_实战案例一;

public class ComputerExceptions {

    /**
     * 蓝屏异常
     */
    public static class BlueScreenException extends Exception {
        public BlueScreenException() {
            this("蓝屏异常");
        }

        public BlueScreenException(String message) {
            super(message);
        }
    }

    public static class MNRException extends Exception {
        public MNRException() {
            this("死机异常");
        }

        public MNRException(String message) {
            super(message);
        }
    }
}
